package com.apex.security.api.service;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Create by IntelliJ IDEA
 * 用户：王建
 * 日期：2018-4-7
 * 刷新用户token，
 * 删除用户token
 */
public interface WxUserRestfulService {

    @GetMapping("/rest/api/wxuser/entity")
    String getWxUser(@RequestParam("openId")String openId);

    @PostMapping("/rest/api/wxuser/save")
    String saveWxUser(@RequestBody String code);
}
